/**
   CS 305 & 503, Data Structures and Algorithms
   Programming Assignment 4, Fall 2010

   An interface for a single method that accepts an array and sorts it.   

   This interface does not need to be implemented; classes implementing this
   interface are part of the assignment jar file.
 */


interface Sorter {

  /**
     Sort an array of values.

     @param a An array.  A will be permuted such that, 
      for all 0 <= i <= j < a.length, a[i].compareTo(a[j]) <= 0.
  */

  <T extends Comparable<T>> void sort(T a[]);
  }


// $Log: Sorter.java,v $
// Revision 1.2  2010/12/09 01:41:14  rclayton
// Change from a generic class to a generic method.
//
// Revision 1.1  2010/12/02 22:51:40  rclayton
// Initial revision
//
